package com.gao.frame.study.shop.user.module.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

@Data
@TableName(value = "customer_inf")
public class CustomerInf {
    /**
     * 自增主键ID
     */
     @TableId(value = "customer_inf_id", type = IdType.AUTO)
    private Integer customerInfId;

    /**
     * customer_login表的自增ID
     */
    @TableField(value = "customer_id")
    private Integer customerId;

    /**
     * 用户真实姓名
     */
    @TableField(value = "customer_name")
    private String customerName;

    /**
     * 证件类型：1 身份证,2军官证,3护照
     */
    @TableField(value = "identity_card_type")
    private Byte identityCardType;

    /**
     * 证件号码
     */
    @TableField(value = "identity_card_no")
    private String identityCardNo;

    /**
     * 手机号
     */
    @TableField(value = "mobile_phone")
    private Integer mobilePhone;

    /**
     * 邮箱
     */
    @TableField(value = "customer_email")
    private String customerEmail;

    /**
     * 性别
     */
    @TableField(value = "gender")
    private String gender;

    /**
     * 用户积分
     */
    @TableField(value = "user_point")
    private Integer userPoint;

    /**
     * 注册时间
     */
    @TableField(value = "register_time")
    private Date registerTime;

    /**
     * 会员生日
     */
    @TableField(value = "birthday")
    private Date birthday;

    /**
     * 会员级别:1普通会员,2青铜会员,3白银会员,4黄金会员,5钻石会员
     */
    @TableField(value = "customer_level")
    private Byte customerLevel;

    /**
     * 用户余额
     */
    @TableField(value = "user_money")
    private BigDecimal userMoney;

    /**
     * 最后修改时间
     */
    @TableField(value = "modified_time")
    private Date modifiedTime;

    public static final String COL_CUSTOMER_ID = "customer_id";

    public static final String COL_CUSTOMER_NAME = "customer_name";

    public static final String COL_IDENTITY_CARD_TYPE = "identity_card_type";

    public static final String COL_IDENTITY_CARD_NO = "identity_card_no";

    public static final String COL_MOBILE_PHONE = "mobile_phone";

    public static final String COL_CUSTOMER_EMAIL = "customer_email";

    public static final String COL_GENDER = "gender";

    public static final String COL_USER_POINT = "user_point";

    public static final String COL_REGISTER_TIME = "register_time";

    public static final String COL_BIRTHDAY = "birthday";

    public static final String COL_CUSTOMER_LEVEL = "customer_level";

    public static final String COL_USER_MONEY = "user_money";

    public static final String COL_MODIFIED_TIME = "modified_time";
}